package com.iting.test.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author iting Nie
 * @version 1.1
 * @create 2022/1/14
 */

@ConfigurationProperties(prefix = "iting.sms")
public class MyProperties {
	private String signName;
	private String templateCode;
	private String accessKey;
	private String secret;

	public MyProperties() {
	}

	public MyProperties(String signName, String templateCode, String accessKey, String secret) {
		this.signName = signName;
		this.templateCode = templateCode;
		this.accessKey = accessKey;
		this.secret = secret;
	}

	public String getSignName() {
		return signName;
	}

	public void setSignName(String signName) {
		this.signName = signName;
	}

	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	public String getAccessKey() {
		return accessKey;
	}

	public void setAccessKey(String accessKey) {
		this.accessKey = accessKey;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	@Override
	public String toString() {
		return "MyProperties{" +
				"signName='" + signName + '\'' +
				", templateCode='" + templateCode + '\'' +
				", accessKey='" + accessKey + '\'' +
				", secret='" + secret + '\'' +
				'}';
	}
}
